package cn.xny.dto;

import cn.xny.txcc.query.BaseQuery;

import java.math.BigDecimal;

public class CourseParamsDto extends BaseQuery {
    /**收费免费*/
    private String chargeName;
    /** 分类的id*/
    private Long courseTypeId;
    /**课程等级*/
    private String gradeName;
    /**价格区间查询*/
    private BigDecimal priceMin;
    /**价格区间查询*/
    private BigDecimal priceMax;
    /** 排序的字段 */
    private String sortField;
    /** 排序的方式*/
    private String sortType;


    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public Long getCourseTypeId() {
        return courseTypeId;
    }

    public void setCourseTypeId(Long courseTypeId) {
        this.courseTypeId = courseTypeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public BigDecimal getPriceMin() {
        return priceMin;
    }

    public void setPriceMin(BigDecimal priceMin) {
        this.priceMin = priceMin;
    }

    public BigDecimal getPriceMax() {
        return priceMax;
    }

    public void setPriceMax(BigDecimal priceMax) {
        this.priceMax = priceMax;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public CourseParamsDto(String chargeName, Long courseTypeId, String gradeName, BigDecimal priceMin, BigDecimal priceMax, String sortField, String sortType) {
        this.chargeName = chargeName;
        this.courseTypeId = courseTypeId;
        this.gradeName = gradeName;
        this.priceMin = priceMin;
        this.priceMax = priceMax;
        this.sortField = sortField;
        this.sortType = sortType;
    }
    public CourseParamsDto(){}

}
